Skip to content

fix: resolve test failures in CI environment#515

Merged
paceholder merged 2 commits intomasterfrom
fix-test-failures
Feb 10, 2026
Merged

fix: resolve test failures in CI environment#515
paceholder merged 2 commits intomasterfrom
fix-test-failures

Conversation

@paceholder
Copy link
Owner

@paceholder paceholder commented Feb 10, 2026

TestGraphModel:

  • Add loadNode() implementation to support copy/paste operations
  • Save and restore node type in saveNode()/loadNode()

TestLoopDetection:

  • Add applicationSetup() for DataFlowGraphModel tests
  • Use TestDisplayNode (has both in/out ports) instead of TestSourceNode (output only) for loop detection tests

TestCustomPainters:

  • Simplify to test painter registration without verifying actual painting calls (unreliable in headless CI environments)
  • Add tests for painter persistence through node lifecycle events

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation/refactoring

Description

Testing

  • Qt version tested:
  • Existing tests still pass
  • Added tests for new functionality (if applicable)

Breaking changes?

Related issue


Please fill out the sections above to help reviewers understand your changes.

TestGraphModel:
- Add loadNode() implementation to support copy/paste operations
- Save and restore node type in saveNode()/loadNode()

TestLoopDetection:
- Add applicationSetup() for DataFlowGraphModel tests
- Use TestDisplayNode (has both in/out ports) instead of
  TestSourceNode (output only) for loop detection tests

TestCustomPainters:
- Simplify to test painter registration without verifying actual
  painting calls (unreliable in headless CI environments)
- Add tests for painter persistence through node lifecycle events
@paceholder paceholder self-assigned this Feb 10, 2026
@paceholder
Copy link
Owner Author

@lonnie-souder-ii @tatatupi Hi guys, just pingnig you shortly here.
I updated the whole documentation, looks much better now https://qtnodes.readthedocs.io/en/master/guide/data-flow.html I did not create a dedicated merge-request for that

Also adde some tests that accidetnally crashed. They will be fixed here.

Add NODE_EDITOR_PUBLIC macro to NodeGraphicsObject class to properly
export its symbols on Windows. This fixes linker errors when building
examples that use graphModel() and nodeScene() methods.

Error was:
  unresolved external symbol NodeGraphicsObject::graphModel()
  unresolved external symbol NodeGraphicsObject::nodeScene()
@paceholder paceholder merged commit f84b5d8 into master Feb 10, 2026
3 checks passed
@lonnie-souder-ii
Copy link
Collaborator

Hi guys, just pingnig you shortly here. I updated the whole documentation, looks much better now https://qtnodes.readthedocs.io/en/master/guide/data-flow.html I did not create a dedicated merge-request for that

Also adde some tests that accidetnally crashed. They will be fixed here.

@paceholder
New docs look awesome! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants